<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生管理系统</title>
</head>
<body>


<c:if test="${empty username}">
    <a href="login.jsp">登录</a>
</c:if>

<c:if test="${not empty username}">
    <a href="addStudent.jsp">添加学生</a>
    <a href="${pageContext.request.contextPath}/listStudentServlet">查询学生</a>
</c:if>

</body>
</html>
